Problem Note 53981: An SQL exception occurs when you create documents with attachments in SAS® Marketing Optimization
In SAS Marketing Optimization, an internal server error might occur when you create a document that has an attachment. When that happens, the following messages are generated in the SASMarketingOptimization6.3.log file:
ERROR [tomcat-http--39] ... com.sas.svcs.exceptions.MutatedException:
(org.springframework.jdbc.UncategorizedSQLException) Error setting null for parameter #2 with
JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull
configuration property. Cause: java.sql.SQLException: Invalid column type: 1111
. . .more message lines. . .
Caused by: java.sql.SQLException: Invalid column type: 1111
at oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:3900)
at oracle.jdbc.driver.OraclePreparedStatement.setNullCritical(OraclePreparedStatement.java:4406)
This problem only occurs when you use Oracle as a back-end database for the SAS® Web Infrastructure Platform and you create documents with attachments. The problem is related to how Oracle handles the Java Database Connectivity (JDBC) Type setting for null values.
There is no workaround or circumvention for this problem.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Note:: A fix for this problem is planned for the third maintenance release of SAS® 9.4.
Operating System and Release Information
SAS System | SAS Web Infrastructure Platform | HP-UX IPF | 9.4_M1 | 9.4_M3 | 9.4 TS1M1 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.4_M1 | 9.4_M3 | 9.4 TS1M1 | 9.4 TS1M3 |
64-bit Enabled AIX | 9.4_M1 | 9.4_M3 | 9.4 TS1M1 | 9.4 TS1M3 |
Microsoft® Windows® for x64 | 9.4_M1 | 9.4_M3 | 9.4 TS1M1 | 9.4 TS1M3 |
Solaris for x64 | 9.4_M1 | 9.4_M3 | 9.4 TS1M1 | 9.4 TS1M3 |
Linux for x64 | 9.4_M1 | 9.4_M3 | 9.4 TS1M1 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When you create a document with an attachment in SAS Marketing Optimization, an internal server error might occur. The SASMarketingOptimization6.3.log file displays the exception "java.sql.SQLException: Invalid column type: 1111."
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-08-26 13:18:22 |
Date Created: | 2014-08-25 13:08:01 |